import request from '@/utils/request'

// 查询达人标签组列表
export function listBiTalentLabelGroup(query) {
  return request({
    url: '/talent/BiTalentLabelGroup/list',
    method: 'get',
    params: query
  })
}
// 查询达人标签组列表
export function selectGroupLabelList(query) {
  return request({
    url: '/talent/BiTalentLabelGroup/selectGroupLabelList',
    method: 'get',
    params: query
  })
}
// 查询达人标签组详细
export function getBiTalentLabelGroup(id) {
  return request({
    url: '/talent/BiTalentLabelGroup/' + id,
    method: 'get'
  })
}

// 新增达人标签组
export function addBiTalentLabelGroup(data) {
  return request({
    url: '/talent/BiTalentLabelGroup',
    method: 'post',
    data: data
  })
}

// 新增达人标签组
export function labelGroupAddLabel(data) {
  return request({
    url: '/talent/BiTalentLabelGroup/labelGroupAddLabel',
    method: 'post',
    params: data
  })
}
// 修改达人标签组
export function updateBiTalentLabelGroup(data) {
  return request({
    url: '/talent/BiTalentLabelGroup',
    method: 'put',
    data: data
  })
}
// 修改达人标签组
export function updateLabelGroup(data) {
  return request({
    url: '/talent/BiTalentLabelGroup/updateLabelGroup',
    method: 'put',
    params: data
  })
}
// 删除达人标签组
export function delBiTalentLabelGroup(id) {
  return request({
    url: '/talent/BiTalentLabelGroup/' + id,
    method: 'delete'
  })
}
// 新增达人标签组
export function deleteLabelGroup(data) {
  return request({
    url: '/talent/BiTalentLabelGroup/deleteLabelGroup',
    method: 'delete',
    params: data
  })
}
// 新增达人标签组
export function deleteLabelGroupLabel(data) {
  return request({
    url: '/talent/BiTalentLabelGroup/deleteLabelGroupLabel',
    method: 'delete',
    params: data
  })
}